/**
 * Main class
 */

public class Main {
	public static void main(String[] argv) {
		/* //if (argv.length > 0) {
			try {
				DocumentBuilder parser = DocumentBuilderFactory.newInstance().newDocumentBuilder();
				Document d = parser.parse(new File("example_recipe.xml"));
				NodeList dishes = d.getElementsByTagName("dish");
				
				Node dish = dishes.item(0);
				NodeList components = dish.getChildNodes();
				
				Node n;
				
				for (int i = 0; i < components.getLength(); i++) {
					n = components.item(i);
					String predicate = n.getNodeName();
					
					
					if (n.hasChildNodes()) {
						// recursion 
					}
				}
				
			} catch (ParserConfigurationException e) {
				e.printStackTrace();
			} catch (IOException e) {
				e.printStackTrace();
			} catch (SAXException e) {
				e.printStackTrace();
			}
		//} 
			
			*/

		View view = new View(new Model());
		view.setVisible(true);		
	}
}	